﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Business_Ping.aspx.cs" Inherits="User_Business_Ping" MasterPageFile="../SelectMasterPage.master" %>
<%@ Import Namespace="Common" %>
<%@ Import Namespace="DAL" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
  <style type="text/css">
     .empty
    { background:url(../images/empty.gif); width:19px; height:18px}
    .full
    { background:url(../images/full.gif); width:19px; height:18px}
      .style1
      {
          color: #000066;
          width: 25%;
          text-align: right;
          background: #F2F2F2;
          height: 71px;
      }
      .style2
      {
          width: 75%;
          height: 71px;
          background: #FFFFFF;
          padding-left: 10px;
      }
  </style>
    <table cellpadding="0" cellspacing="2" width="100%" border="0">
	<tr>
		<td width="85%" valign="top">
		<table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
			<tr>
		        <td class="leftTd"  valign="top">
		        <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
		        	<tr>
		            	<td class="titleStyle">任务处理</td>
		            </tr>
		        </table>
		        <br />
		        <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background:#000066;">
	                    <tr>
	                        <td class="leftContent">任务类型：</td>
	                        <td class="RightContent"><%=  new News().GetClsName(news.ClsID) %></td>
	                    </tr>
	                  <%--  <tr>
	                        <td class="leftContent">预约标题：</td>
	                        <td class="RightContent"><%= news.Topic %></td>
	                    </tr>--%>
	                    <tr>
	                        <td class="leftContent" valign="top" style="padding-top:5px;">预约描述：</td>
	                        <td class="RightContent"><%= news.Content_Cus %></td>
	                    </tr>
		                <tr>
		                    <td class="leftContent">指定技术人员：</td>
		                    <td class="RightContent">
		                      <%= new Account().GetAccountName(news.MUserKey)  %>
		                    </td>
		                </tr>
	                    <tr>
	                        <td class="leftContent">预约上限时间：                 <td class="RightContent"><%= news.TechOneTime %></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">预约下限时间：</td>
	                        <td class="RightContent"><%= news.TechTwoTime %></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">协调上限时间：</td>
	                        <td class="RightContent"><%= news.TechThreeTime %></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">协调下限时间：</td>
	                        <td class="RightContent"><%= news.TechFourTime %></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">报修人姓名：</td>
	                        <td class="RightContent"><%= news.UserName %></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">报修人联系方式：</td>
	                        <td class="RightContent"><%= news.UserNameTEL %></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">协调备注：</td>
	                        <td class="RightContent"><%= news.Content_Scheduling %></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">任务处理：</td>
	                        <td class="RightContent">
                                <table id="tb_Do" runat="server"  cellpadding="0" cellspacing="0" width="100%" border="0" align="center" style="background:#000066;">
	                                <tr>
	                                    <td class="leftContent">当前状态：</td>
	                                    <td class="RightContent"><%= WebUtility.GetTypeName(news.Type) %></td>
	                                </tr>
	                                <tr>
	                                    <td class="leftContent">处理上限时间：</td>
	                                    <td class="RightContent"><%= news.TechFiveTime %></td>
	                                </tr>
	                                <tr>
	                                    <td class="leftContent">处理下限时间：</td>
	                                    <td class="RightContent"><%= news.TechThreeTime %></td>
	                                </tr>
	                                 <tr>
	                                    <td class="leftContent">故障描述：</td>
	                                    <td class="RightContent"><%= news.Content_Tech_Online %></td>
	                                </tr>
	                                <tr>
	                                    <td class="leftContent">处理过程：</td>
	                                    <td class="RightContent"><%= news.Content_Tech %></td>
	                                </tr>
	                                <tr>
	                                    <td class="leftContent">处理结果：</td>
	                                    <td class="RightContent"><%= news.Content_Tech_Result %></td>
	                                </tr>
	                            </table>
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">客户评价：</td>
	                        <td class="RightContent">
                                <asp:TextBox ID="txt_Content_Cus_Ping" runat="server" Height="56px" 
                                    TextMode="MultiLine" Width="427px"></asp:TextBox></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">客户评分：</td>
	                        <td class="RightContent">
	                        <asp:DropDownList ID="txt_Content_Cus_PingNum" runat="server">
                                   <asp:ListItem Value="">请选择</asp:ListItem>
                                   <asp:ListItem Value="1">1分</asp:ListItem>
                                   <asp:ListItem Value="2">2分</asp:ListItem>
                                   <asp:ListItem Value="3">3分</asp:ListItem>
                                   <asp:ListItem Value="4">4分</asp:ListItem>
                                   <asp:ListItem Value="5">5分</asp:ListItem>
                                   <asp:ListItem Value="6">6分</asp:ListItem>
                                   <asp:ListItem Value="7">7分</asp:ListItem>
                                   <asp:ListItem Value="8">8分</asp:ListItem>
                                   <asp:ListItem Value="9">9分</asp:ListItem>
                                   <asp:ListItem Value="10">10分</asp:ListItem>
                                </asp:DropDownList>
	                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                    ControlToValidate="txt_Content_Cus_PingNum" ErrorMessage="请评分"></asp:RequiredFieldValidator>
	                        </td>
	                    </tr>
	                     <tr>
                            <td class="leftContent" valign="top" style="padding-top:20px;height:30px;"></td>
                            <td class="RightContent">
                            <asp:Button ID="btnSubmit" runat="server" Text="确 定" CssClass="button" 
                                    onclick="btnSubmit_Click" />
                            &nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重 置" name="btnReset" class="button"></td>
                        </tr>
	                 </table>
	                 
				</td>
		    </tr>
		</table>
        </td>
    </tr>
</table>
</asp:Content>

